
public abstract class EventBase {
	protected int scheduledTime;
	protected PatientBase eventPatient;
	public Nurse eventNurse;
	public Doctor eventDoctor;
	public MLP eventMLP;
	public Tech eventTech;
	public boolean prereqsComplete;
	
	
	

	public EventBase(PatientBase patient) {
		this.scheduledTime = 0;
		this.eventPatient = patient;
	}
	public boolean isPrereqsComplete() {
		return prereqsComplete;
	}
	public void setPrereqsComplete(boolean prereqsComplete) {
		this.prereqsComplete = prereqsComplete;
	}	
	public void seteventNurse(Nurse nurseID){
		this.eventNurse = nurseID;
	}
	public void seteventDoctor(Doctor doctorID){
		this.eventDoctor = doctorID;
	}
	public void seteventMLP(MLP mlpID){
		this.eventMLP = mlpID;
	}
	public void seteventTech (Tech techID){
		this.eventTech = techID;
	}
	public void setscheduledTime (int newTime){
		this.scheduledTime = newTime;
	}
	
	public Nurse geteventNurse() {return eventNurse;}
	public Doctor geteventDoctor() {return eventDoctor;}
	public Tech geteventTech() {return eventTech;}
	public MLP geteventMLP() {return eventMLP;}
	public int getscheduledTime() {return scheduledTime;}
	public PatientBase geteventPatient() {return eventPatient;} 
	
	public void execute() {
		this.scheduledTime = Simulator.getCurrentTime();
		System.out.println("Executing: " + this.getClass().getName() + " at Time: " + Simulator.getCurrentTime());
	}
	
}
